<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
<script>
$(function(){
	$('.table tr').hover(function(){
		$(this).children('td').css('background','#ccffcc');
	},function(){
		$(this).children('td').css('background','white');
	});	
});
</script>
</head>
<body>
	<div class="body">
    	<?php echo $this->position->get_position();?>
    	<div class="body_center">
    		<form action='<?php echo site_url("admin/model/add_model")?>' method=post>
            <table class="table" style="margin-bottom:0px;">
        	    <tr><th>参数名</th><th>参数值</th><th style="width:400px;">参数说明</th></tr>
            	<tr><td class='center'>模型名称：</td><td><input class='input_txt' type=text name='model_name'></td><td><span class='red'>*</span> </td></tr>
            	<tr><td class='center'>模型数据表：</td><td><input class='input_txt' type=text name='model_table_name'></td><td><span class='red'>*</span> </td></tr>
            	<tr><td class='center'>列表页程序：</td><td><input class='input_txt' type=text name='model_list_tpl'></td><td><span class='red'>*</span> </td></tr>
            	<tr><td class='center'>内容页程序：</td><td><input class='input_txt' type=text name='model_content_tpl'></td><td><span class='red'>*</span> </td></tr>
            	<tr><td class='center'>模型排序：</td><td><input type=text name='model_sort' value='10'></td><td><span class='red'>*</span> </td></tr>
            	<tr><td>&nbsp;</td><td colspan="2"><input type="submit" name="submit" class="submit" value="提交"> &nbsp;&nbsp;<input type="reset" name="reset" class="reset" value="重置"></td></tr>
            </table>
            </form>
        </div>
    </div>
</body>
</html>